﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using OperaHouse.Common;
using OperaHouse.Domain.Users;

namespace OperaHouse.Business.Users
{
    public partial interface IUserService
    {
        IList<User> GetAllUsers();

        IPagedList<User> FindUsers(string username, int pageIndex, int pageSize);

        User GetUserLogin(string username, string password);

        User GetUserById(int id);

        void InsertUser(User user);

        void UpdateUser(User user);

        void DeleteUser(User user);
    }
}
